//  this library.
/// 用户相关信息
class UserInfoModel {
  String id;

  String name;

  String mobile;

  String header;

  UserInfoModel({
    required this.id,
    required this.name,
    required this.mobile,
    required this.header,
  });

  UserInfoModel.fromJson(Map<String, dynamic> json)
      : id = "",
        name = "",
        mobile = "",
        header = "" {
    id = json["id"];
    name = json["name"];
    mobile = json["mobile"];
    header = json["header"];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data["id"] = id;
    data["name"] = name;
    data["mobile"] = mobile;
    data["header"] = header;
    return data;
  }
}
